import request from '@/utils/request'
export default {
  getAllTeam(){
    return request({
      url: `/db_work/team/getAll`,
      method: 'get'
    })
  },
  addTeam(teamVo){
    return request({
      url: `/db_work/team/addTeam`,
      method: 'post',
      data:teamVo
    })
  },
  getTeamListPage(current,limit,teamQuery){
    return request({
      url: `/db_work/team/pageCondition/${current}/${limit}`,
      method: 'post',
      // 把对象转换成JSON
      data:teamQuery
    })
  }
}
